package com.atguigu.test.annotation;

import org.springframework.stereotype.Indexed;

import java.lang.annotation.*;

/**
 * @author zp
 * @version 1.0
 * @description: 自定义注解
 * @date 2022/11/30 18:50
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Indexed
public @interface MyComponent {
    String value() default "";
    String className() default "";
}
